import { BrowserWindow, ipcMain } from 'electron'

export default {
  Mainfunc (mainWindow: BrowserWindow, IsUseSysTitle: Boolean) {
    ipcMain.on('settings', () => {
      mainWindow.webContents.send('settings')
    })
    ipcMain.on('record', (arg) => {
      mainWindow.webContents.send('record', arg)
    })
  }
}
